package com.yantong.service;

import com.yantong.utils.PageUtils;
import com.yantong.pojo.Video;

import java.util.Map;

/**
 * 圈子服务
 * @author chenhu
 * @date : 2020/08/03 15:34
 */
public interface VideoService {

    PageUtils<Video> videoTypeList(String queryItem, Long centreId, String video_name, int offset, int limit);
    int updateVideoType(Video video);
    int addVideoType(Video video);
    Video getVideoTypePrimaryKey(Long video_id);
    PageUtils<Video> videoList(String title, Long centre_id, String video_id, int offset, int limit);
    Map<String,Object> getVideoTypeListToMap(Long centreId);
    int addVideo(Video video);
    Video getVideoPrimaryKey(Long id);
    int updateVideo(Video video);
    int updateVideoAddOne(Video video);
}
